package com.simplebundle.ui;

import com.onetwork.core.ui.components.BasicWindow;
import java.awt.BorderLayout;
import java.net.URL;

public class SimpleBundleWindow extends BasicWindow {
    private static final long serialVersionUID = 1L;
    private MapPanel mapPanel;
    public SimpleBundleWindow(){
        this.setName("Maps");
    }
    
    @Override
    protected void initialize() {
        this.setLayout(new BorderLayout());
        this.configurePanels();
    }
 
    @Override
    public URL createImage() {
        return SimpleBundleWindow.class.getResource("/earth_location.png");
    }

    @Override
    protected void configurePanels() {
        this.mapPanel = new MapPanel();
        this.add(this.mapPanel, BorderLayout.CENTER);
    }

    @Override
    public void imprimir() {}

    @Override
    public void salvar() {
        this.mapPanel.salvar();
    }

    @Override
    public void cancelar() {}

    @Override
    public void excluir() {}

    @Override
    public void novo() {}

    @Override
    public void pesquisar() {}

    @Override
    public void limpar() {}
}